package com.snake.springboot.authority.dao.mybatis.mappers;

import com.snake.springboot.authority.dao.mybatis.entity.AuthModuleDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AuthModuleMapper {

    int insert(AuthModuleDO record);

    int delete(String moduleId);

    int update(AuthModuleDO record);

    List<AuthModuleDO> findByCondition(AuthModuleDO condition);

    AuthModuleDO findById(String moduleId);
}